How to FTP an Image using C# in .NET -


i have image in memory , convert stream can ftp. have done using memorystream , ftpwebrequest. however, result file cannot opened.

a scenario work when first save image physical file. use filestream open physical file , send stream ftp.

i don't want have physically save first various reasons - possible without saving it?

without seeing code, hard workout problem is. works when open new stream, i.e. file, best guess problem related way handling stream. make sure when you've finished writing stream set position start, using either seek method or position property.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -