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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -