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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

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